Optimal. Leaf size=32 \[ a x-\frac {b \cosh (c+d x)}{d}+\frac {b \cosh ^3(c+d x)}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 1, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {2713}
\begin {gather*} a x+\frac {b \cosh ^3(c+d x)}{3 d}-\frac {b \cosh (c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2713
Rubi steps
\begin {align*} \int \left (a+b \sinh ^3(c+d x)\right ) \, dx &=a x+b \int \sinh ^3(c+d x) \, dx\\ &=a x-\frac {b \text {Subst}\left (\int \left (1-x^2\right ) \, dx,x,\cosh (c+d x)\right )}{d}\\ &=a x-\frac {b \cosh (c+d x)}{d}+\frac {b \cosh ^3(c+d x)}{3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 34, normalized size = 1.06 \begin {gather*} a x-\frac {3 b \cosh (c+d x)}{4 d}+\frac {b \cosh (3 (c+d x))}{12 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.85, size = 33, normalized size = 1.03
method | result | size |
default | \(a x +b \left (-\frac {3 \cosh \left (d x +c \right )}{4 d}+\frac {\cosh \left (3 d x +3 c \right )}{12 d}\right )\) | \(33\) |
risch | \(a x +\frac {b \,{\mathrm e}^{3 d x +3 c}}{24 d}-\frac {3 b \,{\mathrm e}^{d x +c}}{8 d}-\frac {3 b \,{\mathrm e}^{-d x -c}}{8 d}+\frac {b \,{\mathrm e}^{-3 d x -3 c}}{24 d}\) | \(62\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 59, normalized size = 1.84 \begin {gather*} a x + \frac {1}{24} \, b {\left (\frac {e^{\left (3 \, d x + 3 \, c\right )}}{d} - \frac {9 \, e^{\left (d x + c\right )}}{d} - \frac {9 \, e^{\left (-d x - c\right )}}{d} + \frac {e^{\left (-3 \, d x - 3 \, c\right )}}{d}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.45, size = 47, normalized size = 1.47 \begin {gather*} \frac {b \cosh \left (d x + c\right )^{3} + 3 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{2} + 12 \, a d x - 9 \, b \cosh \left (d x + c\right )}{12 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.11, size = 41, normalized size = 1.28 \begin {gather*} a x + b \left (\begin {cases} \frac {\sinh ^{2}{\left (c + d x \right )} \cosh {\left (c + d x \right )}}{d} - \frac {2 \cosh ^{3}{\left (c + d x \right )}}{3 d} & \text {for}\: d \neq 0 \\x \sinh ^{3}{\left (c \right )} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 59, normalized size = 1.84 \begin {gather*} a x + \frac {1}{24} \, b {\left (\frac {e^{\left (3 \, d x + 3 \, c\right )}}{d} - \frac {9 \, e^{\left (d x + c\right )}}{d} - \frac {9 \, e^{\left (-d x - c\right )}}{d} + \frac {e^{\left (-3 \, d x - 3 \, c\right )}}{d}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.62, size = 29, normalized size = 0.91 \begin {gather*} a\,x-\frac {b\,\mathrm {cosh}\left (c+d\,x\right )-\frac {b\,{\mathrm {cosh}\left (c+d\,x\right )}^3}{3}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________